package com.wenx.v3system.modular.cloud.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wenx.base.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 系统角色权限关联实体
 * 用于管理角色与权限的多对多关系
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_role_permission")
public class SysRolePermission extends BaseEntity {

    @Serial
    private static final long serialVersionUID = -7081143031786524737L;

    /**
     * 角色ID
     */
    private Long roleId;

    /**
     * 权限ID
     */
    private Long permissionId;
} 